package com.baseLearn.api.web;

import com.baseLearn.api.constant.ApiConstant;
import lombok.Data;

/**
 *  2018/10/23
 */
@Data
public class Fail extends ApiResponse {
    private String errMsg;

    public Fail() {
        super(ApiConstant.FAIL_CODE);
    }

    public Fail(String errMsg) {
        super(ApiConstant.FAIL_CODE);
        this.errMsg = errMsg;
    }
    public Fail(int code,String errMsg) {
        super(code);
        this.errMsg = errMsg;
    }
}
